cmake_minimum_required(VERSION 3.0.0)
project(QStudyCenter)
include(module.cmake)

set_property(GLOBAL PROPERTY USE_FOLDERS ON)
#-------------------------------------------------------------------------------------------
# add_subdirectory(QtDragAndArop)
# add_subdirectory(QtDrapAndDrop2List)
# add_subdirectory(QTextAnimationPlayText)
# add_subdirectory(QtmMselfMakeModel)
# add_subdirectory(QtMultiProgress)
# add_subdirectory(QtPIC)
# add_subdirectory(QtPIContorl)
# add_subdirectory(QtProcessSharedMemory)
# add_subdirectory(QtSortFilterProxyAndExp)

# add_subdirectory(MyQtDisplay)
# add_subdirectory(MyQtModelTree)

# add_subdirectory(RubberBand)
# add_subdirectory(DragAndDropEachOther)
# add_subdirectory(MultiQthread)
# add_subdirectory(RegexExpression)
add_subdirectory(SystemFileTree)


#add_subdirectory(MThreads)

#-------------------------------------------------------------------------------------------
# set_target_properties(QtDragAndArop PROPERTIES FOLDER ClassicEXESamples)
# set_target_properties(QtDrapAndDrop2List PROPERTIES FOLDER ClassicEXESamples)
# set_target_properties(QTextAnimationPlayText PROPERTIES FOLDER ClassicEXESamples)
# set_target_properties(QtmMselfMakeModel PROPERTIES FOLDER ClassicEXESamples)
# set_target_properties(QtMultiProgress PROPERTIES FOLDER ClassicEXESamples)
# set_target_properties(QtPIC PROPERTIES FOLDER ClassicEXESamples)
# set_target_properties(QtPIContorl PROPERTIES FOLDER ClassicEXESamples)
# set_target_properties(QtProcessSharedMemory PROPERTIES FOLDER ClassicEXESamples)
# set_target_properties(QtSortFilterProxyAndExp PROPERTIES FOLDER ClassicEXESamples)

# set_target_properties(MyQtDisplay PROPERTIES FOLDER CustomizeSamples)
# set_target_properties(MyQtModelTree PROPERTIES FOLDER CustomizeSamples)

# set_target_properties(RubberBand PROPERTIES FOLDER SelfSpace)
# set_target_properties(DragAndDropEachOther PROPERTIES FOLDER SelfSpace)
# set_target_properties(MultiQthread PROPERTIES FOLDER SelfSpace)
# set_target_properties(RegexExpression PROPERTIES FOLDER SelfSpace)
# set_target_properties(SystemFileTree PROPERTIES FOLDER SelfSpace)


# set_target_properties(MThreads PROPERTIES FOLDER QTMstudy)
#------------------------------------------------------------------------------------------
IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
	IF(PLATFORM MATCHES x64)
		#add_subdirectory(CoreRunTime)
	ENDIF()
ENDIF()
##RubberBand 依赖于CoreRunTime#add_dependencies(RubberBand CoreRunTime)


IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
	#set(MainDependency RubberBand)
	#IF(PLATFORM MATCHES x64)
	#	set(MainDependency RubberBand)
	#ELSEIF(PLATFORM MATCHES x32)
	#	set(MainDependency RubberBand)
	#ENDIF()
ENDIF()

IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
	#set(MainDependency RubberBand)
	#IF(PLATFORM MATCHES x64)
	#	set(MainDependency RubberBand)
	#ELSEIF(PLATFORM MATCHES x32)
	#	set(MainDependency RubberBand)
	#ENDIF()
ENDIF()
##添加多依赖(编译时的依赖)
#add_dependencies(RubberBand ${MainDependency})
##给该项目添加文件夹属性:RubberBand项目处于Simple文件夹管理之下
##set_target_properties(RubberBand PROPERTIES FOLDER Simple/map) 支持填充路径Simple/map



